package com.lvmama.rhino.service.impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lvmama.rhino.mapper.ManGodHistoryMapper;
import com.lvmama.rhino.pojo.ManGodCount;
import com.lvmama.rhino.pojo.ManGodHistory;
import com.lvmama.rhino.service.ManGodHistoryService;
@Service("manGodHistoryService")
public class ManGodHistoryServiceImpl implements ManGodHistoryService {

	@Autowired
	private ManGodHistoryMapper manGodHistoryMapper;
	@Override
	public List<ManGodHistory> queryHistoryData(Date datetime) {
		List<ManGodHistory> list=manGodHistoryMapper.queryHistoryData(datetime);
		return list;
	}
	@Override
	public ManGodCount queryCountByDate(Date sTime, Date eTime) {
		// TODO Auto-generated method stub
		return manGodHistoryMapper.queryCountByDate(sTime,eTime);
	}

}
